home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Hardware / Mac OS USB DDK / Mac OS USB DDK 1.4.1 / Examples / DropPrint•USB / ListInDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-25  |  817 b   |  34 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ListInDialog.h
  3.  
  4.     Contains:    
  5.  
  6.     Written by: Olav Andrade
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History:
  11.  
  12.  
  13.     To Do:
  14. */
  15.  
  16. #ifndef __DIALOGS__
  17. #include <dialogs.h>
  18. #endif
  19. #ifndef __LISTS__
  20. #include <lists.h>
  21. #endif
  22.  
  23. void            SetupMenus( void );
  24. pascal Boolean    theListFilter( DialogPtr theDialog, EventRecord *theEvent, short *itemHit);
  25.  
  26. void            SetUpList(ListHandle theList, char *path );
  27. void            GetNameFromCell (StringPtr theString, Cell cell, ListHandle hList);
  28. ListHandle        MakeDialogList( DialogPtr dlg, int item );
  29. int                ChoosePrinter( char *name, long *blocksize, int *repeat_count );
  30. void            HiliteOk( DialogPtr dlg );
  31. void            FrameOk( DialogPtr dlg );
  32. int                GetDialogPopupValue( DialogPtr dlg, int item );
  33. void            SetDialogPopupValue( DialogPtr dlg, int item, int value );
  34.